﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TaxiOnline.DAL.DataLayers
{
    public class TaxiDbContext
    {
        private static TaxiContext context = null;

        public static TaxiContext Context
        {
            get
            {
                if (context == null)
                    context = new TaxiContext(GetConnectionStringName());
                return context;
            }
        }

        public static string GetConnectionStringName() { return "ModelStep"; }
    }
}
